package com.feng.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (Menu)表实体类
 *
 * @author feng
 * @since 2024-10-14 13:45:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu{
    //菜单ID
    private Long id;
    //菜单名
    private String menuName;
    //父ID
    private Long parentId;
    //显示顺序
    private Integer orderNum;
    //路由路径
    private String path;
    //组件路径
    private String component;
    //菜单类型
    private String menuType;
    //菜单状态（0显示 1隐藏）
    private Integer visible;
    //菜单状态（0正常 1停用）
    private Integer status;
    //权限标识
    private String permission;
    //菜单图标
    private String icon;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //更新人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    //创建人
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    //逻辑删除
    private Integer delFlag;
}

